99d076e6ed1c4b91450128b54a7517832c83c573,edu.wpi.first.wpilib.plugins.core/src/main/java/edu/wpi/first/wpilib/plugins/core/actions/RunOutlineViewerAction.java,RunOutlineViewerAction,run,#IAction#,35

Before Change


	 * @see IWorkbenchWindowActionDelegate#run
	 */
	public void run(IAction action) {
		String jarFile = WPILibCore.getDefault().getWPILibBaseDir()+File.separator+"tools"+File.separator
				+WPILibCore.getDefault().getCurrentVersion()+File.separator+"OutlineViewer-with-dependencies.jar";
		String[] cmd = {"java", "-jar", jarFile};
		try {
			DebugPlugin.exec(cmd, new File(System.getProperty("user.home")));

After Change


	 * @see IWorkbenchWindowActionDelegate#run
	 */
	public void run(IAction action) {
		File dir = new File(WPILibCore.getDefault().getWPILibBaseDir()+File.separator+"tools");
		File[] files = dir.listFiles(new FilenameFilter() {
			@Override public boolean accept(File dir, String name) {
				return name.startsWith("OutlineViewer") && name.endsWith(".jar");
			}
		});
		if (files == null || files.length < 1) return;
		String[] cmd = {"java", "-jar", files[0].getAbsolutePath()};
		try {
			DebugPlugin.exec(cmd, new File(System.getProperty("user.home")));
		} catch (CoreException e) {